//
//  DMStoreManageController.m
//  DMGME
//
//  Created by ihope99 on 15/9/16.
//  Copyright (c) 2015年 GYP. All rights reserved.
//

#import "DMStoreManageController.h"
#import "DMStoreInfoController.h"


#import "StoreInfoController.h"
@interface DMStoreManageController ()

@end

@implementation DMStoreManageController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"店铺管理";
    self.view.backgroundColor = [UIColor whiteColor];
    [self AddLeftImageBtn:[UIImage imageNamed:@"fanhui_03 2"]target:self action:@selector(GoBack)];
    
    [_seeShopBtn addTarget:self action:@selector(seeShopBtnClick) forControlEvents:UIControlEventTouchUpInside];
    [_edietShopBtn addTarget:self action:@selector(edietShopBtnClick) forControlEvents:UIControlEventTouchUpInside];

}
- (void)seeShopBtnClick{
    StoreInfoController *store = [[StoreInfoController alloc] initWithNibName:@"StoreInfoController" bundle:nil];
    [self.navigationController pushViewController:store animated:YES];
}
- (void)edietShopBtnClick{
    
    DMStoreInfoController *dMStoreInfoC = [[DMStoreInfoController alloc] init];
   dMStoreInfoC.exchangShopType = @"ex";
    [self.navigationController pushViewController:dMStoreInfoC animated:YES];

}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
